package com.ys.web.pay.mapper;

import com.ys.web.pay.model.po.UserFlow;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author quxinjun
 * @version 1.0.0
 * @ClassName StatisticalMapper.java
 * @Description TODO
 * @createTime 2022年02月16日 11:54:00
 */
@Mapper
public interface StatisticalMapper {

    List<UserFlow> getFlowByUserId(@Param("uid") Long uid,@Param("payChannel")int payChannel, @Param("value") List<String> value, @Param("start") int limit,
                                   @Param("end") int pageSize, @Param("queryDate") String queryDate,@Param("dayTime")String dayTime);


    Map<String, Object> getRedPacketNav(@Param("uid") Long uid,@Param("payChannel")int payChannel, @Param("value") List<String> value,
                                        @Param("queryDate") String queryDate, @Param("flag") Integer flag,@Param("dayTime")String dayTime);
}
